import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);//sc做输入相关的对象
        int length = 3;
        int[] nums = new int[length];
        for(int i = 0; i < length; i++){
            nums[i] = sc.nextInt();
        }
        int ans = Integer.MIN_VALUE;
        for(int i = 0; i < length; i++){
            ans = Math.max(ans,nums[i]);
        }
        System.out.println(ans);
    }
}
